.class public Lcom/estrongs/android/pop/app/analysis/AnalysisInstallAppService;
.super Landroid/app/IntentService;
.source "AnalysisInstallAppService.java"


# static fields
.field private static b:Ljava/lang/String; = "AnalysisInstallAppService"


# instance fields
.field private a:Lcom/estrongs/android/statistics/b;


# direct methods
.method static constructor <clinit>()V
    .locals 0

    return-void
.end method

.method public constructor <init>()V
    .locals 1

    .line 1
    sget-object v0, Lcom/estrongs/android/pop/app/analysis/AnalysisInstallAppService;->b:Ljava/lang/String;

    invoke-direct {p0, v0}, Landroid/app/IntentService;-><init>(Ljava/lang/String;)V

    const/4 v0, 0x0

    .line 2
    iput-object v0, p0, Lcom/estrongs/android/pop/app/analysis/AnalysisInstallAppService;->a:Lcom/estrongs/android/statistics/b;

    return-void
.end method

.method private a()Landroid/app/Notification;
    .locals 5

    .line 1
    invoke-static {}, Lcom/estrongs/android/pop/FexApplication;->n()Lcom/estrongs/android/pop/FexApplication;

    move-result-object v0

    new-instance v1, Landroid/content/Intent;

    invoke-direct {v1}, Landroid/content/Intent;-><init>()V

    const/4 v2, 0x0

    invoke-static {v0, v2, v1, v2}, Landroid/app/PendingIntent;->getActivity(Landroid/content/Context;ILandroid/content/Intent;I)Landroid/app/PendingIntent;

    move-result-object v0

    .line 2
    invoke-static {}, Lcom/estrongs/android/pop/FexApplication;->n()Lcom/estrongs/android/pop/FexApplication;

    move-result-object v1

    invoke-static {v1}, Les/dh0;->a(Landroid/app/Application;)Les/dh0;

    move-result-object v1

    const-string v2, "other_remind"

    .line 3
    invoke-virtual {v1, v2}, Les/dh0;->a(Ljava/lang/String;)Landroidx/core/app/NotificationCompat$Builder;

    move-result-object v1

    .line 4
    invoke-static {}, Lcom/estrongs/android/pop/FexApplication;->n()Lcom/estrongs/android/pop/FexApplication;

    move-result-object v2

    const v3, 0x7f110a59

    invoke-virtual {v2, v3}, Landroid/app/Application;->getText(I)Ljava/lang/CharSequence;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroidx/core/app/NotificationCompat$Builder;->setTicker(Ljava/lang/CharSequence;)Landroidx/core/app/NotificationCompat$Builder;

    move-result-object v1

    .line 5
    invoke-static {}, Lcom/estrongs/android/pop/FexApplication;->n()Lcom/estrongs/android/pop/FexApplication;

    move-result-object v2

    const v4, 0x7f110122

    invoke-virtual {v2, v4}, Landroid/app/Application;->getText(I)Ljava/lang/CharSequence;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroidx/core/app/NotificationCompat$Builder;->setContentText(Ljava/lang/CharSequence;)Landroidx/core/app/NotificationCompat$Builder;

    move-result-object v1

    .line 6
    invoke-static {}, Lcom/estrongs/android/pop/FexApplication;->n()Lcom/estrongs/android/pop/FexApplication;

    move-result-object v2

    invoke-virtual {v2, v3}, Landroid/app/Application;->getText(I)Ljava/lang/CharSequence;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroidx/core/app/NotificationCompat$Builder;->setContentTitle(Ljava/lang/CharSequence;)Landroidx/core/app/NotificationCompat$Builder;

    move-result-object v1

    .line 7
    invoke-virtual {v1, v0}, Landroidx/core/app/NotificationCompat$Builder;->setContentIntent(Landroid/app/PendingIntent;)Landroidx/core/app/NotificationCompat$Builder;

    move-result-object v0

    const v1, 0x7f0807af

    .line 8
    invoke-virtual {v0, v1}, Landroidx/core/app/NotificationCompat$Builder;->setSmallIcon(I)Landroidx/core/app/NotificationCompat$Builder;

    move-result-object v0

    .line 9
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v1

    invoke-virtual {v0, v1, v2}, Landroidx/core/app/NotificationCompat$Builder;->setWhen(J)Landroidx/core/app/NotificationCompat$Builder;

    move-result-object v0

    .line 10
    invoke-virtual {v0}, Landroidx/core/app/NotificationCompat$Builder;->build()Landroid/app/Notification;

    move-result-object v0

    .line 11
    iget v1, v0, Landroid/app/Notification;->flags:I

    or-int/lit8 v1, v1, 0x20

    iput v1, v0, Landroid/app/Notification;->flags:I

    return-object v0
.end method

.method private a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;
    .locals 2

    .line 42
    new-instance v0, Landroid/content/Intent;

    invoke-direct {v0}, Landroid/content/Intent;-><init>()V

    .line 43
    const-class v1, Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {v0, p1, v1}, Landroid/content/Intent;->setClass(Landroid/content/Context;Ljava/lang/Class;)Landroid/content/Intent;

    .line 44
    sget-object p1, Lcom/estrongs/android/pop/app/analysis/e;->j:Ljava/lang/String;

    invoke-virtual {v0, p1}, Landroid/content/Intent;->setAction(Ljava/lang/String;)Landroid/content/Intent;

    .line 45
    sget-object p1, Lcom/estrongs/android/pop/app/analysis/e;->f:Ljava/lang/String;

    invoke-virtual {v0, p1, p2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 46
    sget-object p1, Lcom/estrongs/android/pop/app/analysis/e;->g:Ljava/lang/String;

    invoke-virtual {v0, p1, p3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 47
    sget-object p1, Lcom/estrongs/android/pop/app/analysis/e;->h:Ljava/lang/String;

    invoke-virtual {v0, p1, p4}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string p1, "openFrom"

    const-string p2, "analyze_appnoti"

    .line 48
    invoke-virtual {v0, p1, p2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    return-object v0
.end method

.method private a(Ljava/lang/String;)Landroid/content/Intent;
    .locals 1

    .line 49
    invoke-static {}, Lcom/estrongs/android/pop/app/analysis/e;->d()Lcom/estrongs/android/pop/app/analysis/e;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/estrongs/android/pop/app/analysis/e;->c(Ljava/lang/String;)Landroid/content/Intent;

    move-result-object p1

    return-object p1
.end method

.method private a(Landroid/content/Context;Ljava/lang/String;)V
    .locals 3

    .line 50
    :try_start_0
    invoke-static {}, Lcom/estrongs/android/pop/l;->L1()Lcom/estrongs/android/pop/l;

    move-result-object v0

    invoke-virtual {v0}, Lcom/estrongs/android/pop/l;->D0()Z

    move-result v0

    const/4 v1, 0x0

    if-eqz v0, :cond_0

    .line 51
    invoke-static {}, Les/mg;->f()Les/mg;

    move-result-object v0

    invoke-virtual {v0, p2}, Les/mg;->e(Ljava/lang/String;)Ljava/util/ArrayList;

    move-result-object v1

    .line 52
    :cond_0
    invoke-static {}, Les/mg;->f()Les/mg;

    move-result-object v0

    invoke-virtual {v0, p2}, Les/mg;->b(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    .line 53
    invoke-static {}, Lcom/estrongs/android/pop/app/analysis/e;->d()Lcom/estrongs/android/pop/app/analysis/e;

    move-result-object v2

    invoke-virtual {v2, p2, v1}, Lcom/estrongs/android/pop/app/analysis/e;->a(Ljava/lang/String;Ljava/util/ArrayList;)V

    .line 54
    invoke-static {p1, p2, v0}, Lcom/estrongs/android/pop/app/UninstallMonitorActivity;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception p1

    .line 55
    invoke-virtual {p1}, Ljava/lang/Exception;->printStackTrace()V

    :goto_0
    return-void
.end method

.method private a(Ljava/lang/String;Ljava/lang/String;)V
    .locals 12

    .line 12
    invoke-static {}, Lcom/estrongs/android/pop/o;->A0()Lcom/estrongs/android/pop/o;

    move-result-object v0

    const-string v1, "01"

    const-string v2, "sensitive_noti_bar_style"

    .line 13
    invoke-virtual {v0, v2, v1}, Lcom/estrongs/android/pop/o;->a(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    .line 14
    new-instance v2, Lcom/estrongs/android/ui/notification/c;

    const/4 v3, 0x0

    invoke-direct {v2, p0, v3}, Lcom/estrongs/android/ui/notification/c;-><init>(Landroid/content/Context;Z)V

    .line 15
    invoke-static {}, Lcom/estrongs/android/pop/FexApplication;->n()Lcom/estrongs/android/pop/FexApplication;

    move-result-object v4

    const v5, 0x7f1100bd

    .line 16
    invoke-virtual {v4, v5}, Landroid/app/Application;->getString(I)Ljava/lang/String;

    move-result-object v4

    .line 17
    invoke-static {}, Lcom/estrongs/android/pop/FexApplication;->n()Lcom/estrongs/android/pop/FexApplication;

    move-result-object v5

    const v6, 0x7f11097b

    invoke-virtual {v5, v6}, Landroid/app/Application;->getString(I)Ljava/lang/String;

    move-result-object v5

    const/4 v6, 0x1

    new-array v7, v6, [Ljava/lang/Object;

    aput-object p1, v7, v3

    .line 18
    invoke-static {v4, v7}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v4

    .line 19
    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v7

    const v8, 0x7f090876

    const v9, 0x7f0c02ab

    if-nez v7, :cond_6

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_0

    goto :goto_2

    :cond_0
    const/4 v1, -0x1

    .line 20
    invoke-virtual {v0}, Ljava/lang/String;->hashCode()I

    move-result v7

    const/4 v10, 0x3

    const/4 v11, 0x2

    packed-switch v7, :pswitch_data_0

    goto :goto_0

    :pswitch_0
    const-string v7, "05"

    invoke-virtual {v0, v7}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v7

    if-eqz v7, :cond_1

    const/4 v1, 0x3

    goto :goto_0

    :pswitch_1
    const-string v7, "04"

    invoke-virtual {v0, v7}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v7

    if-eqz v7, :cond_1

    const/4 v1, 0x2

    goto :goto_0

    :pswitch_2
    const-string v7, "03"

    invoke-virtual {v0, v7}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v7

    if-eqz v7, :cond_1

    const/4 v1, 0x1

    goto :goto_0

    :pswitch_3
    const-string v7, "02"

    invoke-virtual {v0, v7}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v7

    if-eqz v7, :cond_1

    const/4 v1, 0x0

    :cond_1
    :goto_0
    if-eqz v1, :cond_5

    if-eq v1, v6, :cond_4

    if-eq v1, v11, :cond_3

    if-eq v1, v10, :cond_2

    goto :goto_1

    :cond_2
    const v9, 0x7f0c02af

    goto :goto_1

    :cond_3
    const v9, 0x7f0c02ae

    goto :goto_1

    :cond_4
    const v9, 0x7f0c02ad

    goto :goto_1

    :cond_5
    const v9, 0x7f0c02ac

    .line 21
    :goto_1
    new-instance v1, Landroid/widget/RemoteViews;

    invoke-virtual {p0}, Landroid/app/IntentService;->getPackageName()Ljava/lang/String;

    move-result-object v7

    invoke-direct {v1, v7, v9}, Landroid/widget/RemoteViews;-><init>(Ljava/lang/String;I)V

    .line 22
    invoke-virtual {v1, v8, v4}, Landroid/widget/RemoteViews;->setTextViewText(ILjava/lang/CharSequence;)V

    const v7, 0x7f090878

    .line 23
    invoke-virtual {v1, v7, v5}, Landroid/widget/RemoteViews;->setTextViewText(ILjava/lang/CharSequence;)V

    const-string v5, ""

    goto :goto_3

    .line 24
    :cond_6
    :goto_2
    invoke-static {}, Lcom/estrongs/android/pop/FexApplication;->n()Lcom/estrongs/android/pop/FexApplication;

    move-result-object v1

    const v5, 0x7f1100be

    invoke-virtual {v1, v5}, Landroid/app/Application;->getString(I)Ljava/lang/String;

    move-result-object v5

    .line 25
    new-instance v1, Landroid/widget/RemoteViews;

    invoke-virtual {p0}, Landroid/app/IntentService;->getPackageName()Ljava/lang/String;

    move-result-object v7

    invoke-direct {v1, v7, v9}, Landroid/widget/RemoteViews;-><init>(Ljava/lang/String;I)V

    const v7, 0x7f09087a

    .line 26
    invoke-virtual {v1, v7, v5}, Landroid/widget/RemoteViews;->setTextViewText(ILjava/lang/CharSequence;)V

    .line 27
    invoke-virtual {v1, v8, v4}, Landroid/widget/RemoteViews;->setTextViewText(ILjava/lang/CharSequence;)V

    :goto_3
    const v7, 0x7f0807c1

    .line 28
    invoke-virtual {v2, v7}, Lcom/estrongs/android/ui/notification/c;->a(I)V

    .line 29
    invoke-virtual {v2, v4}, Lcom/estrongs/android/ui/notification/c;->c(Ljava/lang/CharSequence;)V

    .line 30
    invoke-virtual {v2, v5}, Lcom/estrongs/android/ui/notification/c;->a(Ljava/lang/CharSequence;)V

    .line 31
    invoke-virtual {v2, v4}, Lcom/estrongs/android/ui/notification/c;->b(Ljava/lang/CharSequence;)V

    .line 32
    invoke-virtual {v2, v3}, Lcom/estrongs/android/ui/notification/c;->b(Z)V

    .line 33
    invoke-virtual {v2, v3}, Lcom/estrongs/android/ui/notification/c;->a(Z)V

    .line 34
    invoke-virtual {v2, v1}, Lcom/estrongs/android/ui/notification/c;->a(Landroid/widget/RemoteViews;)V

    .line 35
    invoke-direct {p0, p0, p1, p2, v0}, Lcom/estrongs/android/pop/app/analysis/AnalysisInstallAppService;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    move-result-object p1

    invoke-virtual {v2, p1, v6}, Lcom/estrongs/android/ui/notification/c;->b(Landroid/content/Intent;Z)V

    .line 36
    invoke-direct {p0, p2}, Lcom/estrongs/android/pop/app/analysis/AnalysisInstallAppService;->a(Ljava/lang/String;)Landroid/content/Intent;

    move-result-object p1

    invoke-virtual {v2, p1, v3}, Lcom/estrongs/android/ui/notification/c;->a(Landroid/content/Intent;Z)V

    .line 37
    invoke-virtual {v2}, Lcom/estrongs/android/ui/notification/c;->g()V

    .line 38
    invoke-direct {p0, v0}, Lcom/estrongs/android/pop/app/analysis/AnalysisInstallAppService;->b(Ljava/lang/String;)V

    .line 39
    invoke-static {}, Lcom/estrongs/android/statistics/b;->b()Lcom/estrongs/android/statistics/b;

    move-result-object p1

    iput-object p1, p0, Lcom/estrongs/android/pop/app/analysis/AnalysisInstallAppService;->a:Lcom/estrongs/android/statistics/b;

    if-eqz p1, :cond_7

    const-string p2, "act5"

    const-string v0, "sensitive_authority"

    .line 40
    invoke-virtual {p1, p2, v0}, Lcom/estrongs/android/statistics/b;->b(Ljava/lang/String;Ljava/lang/String;)V

    .line 41
    :cond_7
    invoke-static {}, Lcom/estrongs/android/pop/app/analysis/e;->d()Lcom/estrongs/android/pop/app/analysis/e;

    move-result-object p1

    invoke-virtual {p1, v2}, Lcom/estrongs/android/pop/app/analysis/e;->a(Lcom/estrongs/android/ui/notification/c;)V

    return-void

    nop

    :pswitch_data_0
    .packed-switch 0x602
        :pswitch_3
        :pswitch_2
        :pswitch_1
        :pswitch_0
    .end packed-switch
.end method

.method private b(Ljava/lang/String;)V
    .locals 3

    .line 1
    :try_start_0
    new-instance v0, Lorg/json/JSONObject;

    invoke-direct {v0}, Lorg/json/JSONObject;-><init>()V

    const-string v1, "eventValue"

    const-string v2, "show"

    .line 2
    invoke-virtual {v0, v1, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string v1, "style"

    .line 3
    invoke-virtual {v0, v1, p1}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    .line 4
    invoke-static {}, Lcom/estrongs/android/statistics/b;->b()Lcom/estrongs/android/statistics/b;

    move-result-object p1

    const-string v1, "analyze_appnoti_show"

    invoke-virtual {p1, v1, v0}, Lcom/estrongs/android/statistics/b;->c(Ljava/lang/String;Lorg/json/JSONObject;)V
    :try_end_0
    .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception p1

    .line 5
    invoke-virtual {p1}, Lorg/json/JSONException;->printStackTrace()V

    :goto_0
    return-void
.end method


# virtual methods
.method public onCreate()V
    .locals 2

    .line 1
    invoke-super {p0}, Landroid/app/IntentService;->onCreate()V

    .line 2
    sget v0, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v1, 0x1a

    if-lt v0, v1, :cond_0

    .line 3
    invoke-direct {p0}, Lcom/estrongs/android/pop/app/analysis/AnalysisInstallAppService;->a()Landroid/app/Notification;

    move-result-object v0

    const v1, 0x23815af

    .line 4
    invoke-virtual {p0, v1, v0}, Landroid/app/IntentService;->startForeground(ILandroid/app/Notification;)V

    :cond_0
    return-void
.end method

.method public onDestroy()V
    .locals 2

    .line 1
    invoke-super {p0}, Landroid/app/IntentService;->onDestroy()V

    .line 2
    sget v0, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v1, 0x1a

    if-lt v0, v1, :cond_0

    const/4 v0, 0x1

    .line 3
    invoke-virtual {p0, v0}, Landroid/app/IntentService;->stopForeground(Z)V

    :cond_0
    return-void
.end method

.method protected onHandleIntent(Landroid/content/Intent;)V
    .locals 12

    if-nez p1, :cond_0

    return-void

    .line 1
    :cond_0
    sget-object v0, Lcom/estrongs/android/pop/app/analysis/e;->g:Ljava/lang/String;

    invoke-virtual {p1, v0}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    .line 2
    sget-object v1, Lcom/estrongs/android/pop/app/analysis/e;->i:Ljava/lang/String;

    const/4 v2, 0x0

    invoke-virtual {p1, v1, v2}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result p1

    .line 3
    sget-object v1, Lcom/estrongs/android/pop/app/analysis/AnalysisInstallAppService;->b:Ljava/lang/String;

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    const-string v4, "packageName : "

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-static {v1, v3}, Lcom/estrongs/android/util/n;->a(Ljava/lang/String;Ljava/lang/String;)V

    .line 4
    sget-object v1, Lcom/estrongs/android/pop/app/analysis/AnalysisInstallAppService;->b:Ljava/lang/String;

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    const-string v4, "isUninstallApp : "

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v3, p1}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-static {v1, v3}, Lcom/estrongs/android/util/n;->a(Ljava/lang/String;Ljava/lang/String;)V

    if-eqz p1, :cond_1

    .line 5
    invoke-direct {p0, p0, v0}, Lcom/estrongs/android/pop/app/analysis/AnalysisInstallAppService;->a(Landroid/content/Context;Ljava/lang/String;)V

    return-void

    .line 6
    :cond_1
    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result p1

    if-eqz p1, :cond_2

    .line 7
    invoke-static {}, Lcom/estrongs/android/pop/app/analysis/e;->d()Lcom/estrongs/android/pop/app/analysis/e;

    move-result-object p1

    invoke-virtual {p1, v0}, Lcom/estrongs/android/pop/app/analysis/e;->e(Ljava/lang/String;)V

    .line 8
    invoke-static {}, Lcom/estrongs/android/pop/app/analysis/e;->d()Lcom/estrongs/android/pop/app/analysis/e;

    move-result-object p1

    invoke-virtual {p1, v2}, Lcom/estrongs/android/pop/app/analysis/e;->a(Z)V

    return-void

    .line 9
    :cond_2
    invoke-static {}, Lcom/estrongs/android/pop/app/analysis/AnalysisCtrl;->p()Z

    move-result p1

    if-nez p1, :cond_3

    .line 10
    invoke-static {}, Lcom/estrongs/android/pop/app/analysis/e;->d()Lcom/estrongs/android/pop/app/analysis/e;

    move-result-object p1

    invoke-virtual {p1, v0}, Lcom/estrongs/android/pop/app/analysis/e;->e(Ljava/lang/String;)V

    .line 11
    invoke-static {}, Lcom/estrongs/android/pop/app/analysis/e;->d()Lcom/estrongs/android/pop/app/analysis/e;

    move-result-object p1

    invoke-virtual {p1, v2}, Lcom/estrongs/android/pop/app/analysis/e;->a(Z)V

    return-void

    .line 12
    :cond_3
    invoke-static {}, Lcom/estrongs/android/pop/l;->L1()Lcom/estrongs/android/pop/l;

    move-result-object p1

    invoke-virtual {p1}, Lcom/estrongs/android/pop/l;->S0()Z

    move-result p1

    if-nez p1, :cond_4

    .line 13
    invoke-static {}, Lcom/estrongs/android/pop/app/analysis/e;->d()Lcom/estrongs/android/pop/app/analysis/e;

    move-result-object p1

    invoke-virtual {p1, v0}, Lcom/estrongs/android/pop/app/analysis/e;->e(Ljava/lang/String;)V

    .line 14
    invoke-static {}, Lcom/estrongs/android/pop/app/analysis/e;->d()Lcom/estrongs/android/pop/app/analysis/e;

    move-result-object p1

    invoke-virtual {p1, v2}, Lcom/estrongs/android/pop/app/analysis/e;->a(Z)V

    return-void

    .line 15
    :cond_4
    invoke-static {v0}, Les/ye;->d(Ljava/lang/String;)Z

    move-result p1

    if-eqz p1, :cond_5

    .line 16
    invoke-static {}, Lcom/estrongs/android/pop/app/analysis/e;->d()Lcom/estrongs/android/pop/app/analysis/e;

    move-result-object p1

    invoke-virtual {p1, v2}, Lcom/estrongs/android/pop/app/analysis/e;->a(Z)V

    .line 17
    invoke-static {}, Lcom/estrongs/android/pop/app/analysis/e;->d()Lcom/estrongs/android/pop/app/analysis/e;

    move-result-object p1

    invoke-virtual {p1, v0}, Lcom/estrongs/android/pop/app/analysis/e;->e(Ljava/lang/String;)V

    .line 18
    invoke-static {}, Lcom/estrongs/android/pop/app/analysis/e;->d()Lcom/estrongs/android/pop/app/analysis/e;

    move-result-object p1

    invoke-virtual {p1}, Lcom/estrongs/android/pop/app/analysis/e;->c()V

    return-void

    .line 19
    :cond_5
    invoke-static {}, Lcom/estrongs/android/pop/FexApplication;->n()Lcom/estrongs/android/pop/FexApplication;

    move-result-object p1

    invoke-virtual {p1}, Landroid/app/Application;->getPackageManager()Landroid/content/pm/PackageManager;

    move-result-object p1

    const/4 v1, 0x0

    .line 20
    :try_start_0
    invoke-virtual {p1, v0, v2}, Landroid/content/pm/PackageManager;->getPackageInfo(Ljava/lang/String;I)Landroid/content/pm/PackageInfo;

    move-result-object v3

    .line 21
    iget-object v3, v3, Landroid/content/pm/PackageInfo;->applicationInfo:Landroid/content/pm/ApplicationInfo;

    invoke-virtual {v3, p1}, Landroid/content/pm/ApplicationInfo;->loadLabel(Landroid/content/pm/PackageManager;)Ljava/lang/CharSequence;

    move-result-object v3

    invoke-interface {v3}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;

    move-result-object v1
    :try_end_0
    .catch Landroid/content/pm/PackageManager$NameNotFoundException; {:try_start_0 .. :try_end_0} :catch_1
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    nop

    .line 22
    :goto_0
    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v3

    if-eqz v3, :cond_6

    move-object v1, v0

    .line 23
    :cond_6
    invoke-static {p1, v0}, Lcom/estrongs/android/pop/utils/k;->c(Landroid/content/pm/PackageManager;Ljava/lang/String;)[Ljava/lang/String;

    move-result-object p1

    .line 24
    invoke-static {}, Les/ye;->r()Ljava/util/Set;

    move-result-object v3

    .line 25
    new-instance v4, Ljava/util/HashSet;

    invoke-direct {v4}, Ljava/util/HashSet;-><init>()V

    .line 26
    array-length v5, p1

    const/4 v6, 0x0

    :goto_1
    if-ge v6, v5, :cond_8

    aget-object v7, p1, v6

    .line 27
    invoke-interface {v3, v7}, Ljava/util/Set;->contains(Ljava/lang/Object;)Z

    move-result v8

    if-eqz v8, :cond_7

    invoke-interface {v4, v7}, Ljava/util/Set;->contains(Ljava/lang/Object;)Z

    move-result v8

    if-nez v8, :cond_7

    .line 28
    invoke-interface {v4, v7}, Ljava/util/Set;->add(Ljava/lang/Object;)Z

    :cond_7
    add-int/lit8 v6, v6, 0x1

    goto :goto_1

    .line 29
    :cond_8
    sget-object p1, Lcom/estrongs/android/pop/app/analysis/AnalysisInstallAppService;->b:Ljava/lang/String;

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    const-string v5, "appName : "

    invoke-virtual {v3, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v3, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-static {p1, v3}, Lcom/estrongs/android/util/n;->a(Ljava/lang/String;Ljava/lang/String;)V

    .line 30
    sget-object p1, Lcom/estrongs/android/pop/app/analysis/AnalysisInstallAppService;->b:Ljava/lang/String;

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    const-string v5, "sensitivePermission size : "

    invoke-virtual {v3, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-interface {v4}, Ljava/util/Set;->size()I

    move-result v5

    invoke-virtual {v3, v5}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-static {p1, v3}, Lcom/estrongs/android/util/n;->a(Ljava/lang/String;Ljava/lang/String;)V

    .line 31
    invoke-interface {v4}, Ljava/util/Set;->size()I

    move-result p1

    if-lez p1, :cond_d

    .line 32
    invoke-static {}, Lcom/estrongs/android/pop/app/analysis/e;->d()Lcom/estrongs/android/pop/app/analysis/e;

    move-result-object p1

    invoke-virtual {p1}, Lcom/estrongs/android/pop/app/analysis/e;->b()Z

    move-result p1

    if-eqz p1, :cond_9

    .line 33
    invoke-static {}, Lcom/estrongs/android/pop/app/analysis/e;->d()Lcom/estrongs/android/pop/app/analysis/e;

    move-result-object p1

    invoke-virtual {p1, v2}, Lcom/estrongs/android/pop/app/analysis/e;->a(Z)V

    return-void

    .line 34
    :cond_9
    invoke-static {}, Lcom/estrongs/android/pop/o;->A0()Lcom/estrongs/android/pop/o;

    move-result-object p1

    .line 35
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v3

    .line 36
    invoke-virtual {p1}, Lcom/estrongs/android/pop/o;->w()J

    move-result-wide v5

    .line 37
    invoke-virtual {p1}, Lcom/estrongs/android/pop/o;->L()I

    move-result v7

    const-wide/16 v8, 0x0

    const/4 v10, 0x1

    cmp-long v11, v5, v8

    if-eqz v11, :cond_c

    sub-long v5, v3, v5

    const-wide/32 v8, 0x5265c00

    cmp-long v11, v5, v8

    if-lez v11, :cond_a

    goto :goto_2

    :cond_a
    const/4 v3, 0x2

    if-ge v7, v3, :cond_b

    add-int/2addr v7, v10

    .line 38
    invoke-virtual {p1, v7}, Lcom/estrongs/android/pop/o;->d(I)V

    goto :goto_3

    .line 39
    :cond_b
    invoke-static {}, Lcom/estrongs/android/pop/app/analysis/e;->d()Lcom/estrongs/android/pop/app/analysis/e;

    move-result-object p1

    invoke-virtual {p1, v2}, Lcom/estrongs/android/pop/app/analysis/e;->a(Z)V

    return-void

    .line 40
    :cond_c
    :goto_2
    invoke-virtual {p1, v3, v4}, Lcom/estrongs/android/pop/o;->n(J)V

    .line 41
    invoke-virtual {p1, v10}, Lcom/estrongs/android/pop/o;->d(I)V

    .line 42
    :goto_3
    invoke-direct {p0, v1, v0}, Lcom/estrongs/android/pop/app/analysis/AnalysisInstallAppService;->a(Ljava/lang/String;Ljava/lang/String;)V

    .line 43
    invoke-static {}, Lcom/estrongs/android/pop/app/analysis/e;->d()Lcom/estrongs/android/pop/app/analysis/e;

    move-result-object p1

    invoke-virtual {p1, v2}, Lcom/estrongs/android/pop/app/analysis/e;->a(Z)V

    goto :goto_4

    .line 44
    :cond_d
    invoke-static {}, Lcom/estrongs/android/pop/app/analysis/e;->d()Lcom/estrongs/android/pop/app/analysis/e;

    move-result-object p1

    invoke-virtual {p1, v0}, Lcom/estrongs/android/pop/app/analysis/e;->e(Ljava/lang/String;)V

    .line 45
    invoke-static {}, Lcom/estrongs/android/pop/app/analysis/e;->d()Lcom/estrongs/android/pop/app/analysis/e;

    move-result-object p1

    invoke-virtual {p1, v2}, Lcom/estrongs/android/pop/app/analysis/e;->a(Z)V

    .line 46
    invoke-static {}, Lcom/estrongs/android/pop/app/analysis/e;->d()Lcom/estrongs/android/pop/app/analysis/e;

    move-result-object p1

    invoke-virtual {p1}, Lcom/estrongs/android/pop/app/analysis/e;->c()V

    :goto_4
    return-void

    .line 47
    :catch_1
    invoke-static {}, Lcom/estrongs/android/pop/app/analysis/e;->d()Lcom/estrongs/android/pop/app/analysis/e;

    move-result-object p1

    invoke-virtual {p1, v0}, Lcom/estrongs/android/pop/app/analysis/e;->e(Ljava/lang/String;)V

    .line 48
    invoke-static {}, Lcom/estrongs/android/pop/app/analysis/e;->d()Lcom/estrongs/android/pop/app/analysis/e;

    move-result-object p1

    invoke-virtual {p1, v2}, Lcom/estrongs/android/pop/app/analysis/e;->a(Z)V

    .line 49
    invoke-static {}, Lcom/estrongs/android/pop/app/analysis/e;->d()Lcom/estrongs/android/pop/app/analysis/e;

    move-result-object p1

    invoke-virtual {p1}, Lcom/estrongs/android/pop/app/analysis/e;->c()V

    return-void
.end method
